package com.jboost.hyk.common.entity;


import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.jboost.common.system.base.entity.JBoostEntity;

/**
 * @Description: 机构认证信息
 * @Author: cxn
 * @Date:   2022-10-09
 * @Version: V1.0
 */
@Data
@TableName("hyk_business_credentials")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hyk_business_credentials对象", description="机构认证信息")
public class BusinessCredentials extends JBoostEntity{

    @TableLogic
    /**delFlag*/
    @ApiModelProperty(value = "delFlag")
    private Integer delFlag;

    /**businessId*/
    @ApiModelProperty(value = "businessId")
    private String businessId;

    /**证件分类：personal-个人；corporate-企业；*/
    @ApiModelProperty(value = "证件分类：personal-个人；corporate-企业；")
    private String category;

    /**证件类型：business_license-营业执照； china_ID_card-中华人民共和国身份证；china_passport-中华人民共和国护照；other-其他*/
    @ApiModelProperty(value = "证件类型：business_license-营业执照； china_ID_card-中华人民共和国身份证；china_passport-中华人民共和国护照；other-其他")
    private String type;

    @ApiModelProperty(value = "状态：padding-待审核；success-审核通过；fail-驳回")
    private String status;

    /**证件号码*/
    @ApiModelProperty(value = "证件号码")
    private String number;

    /**注册地址*/
    @ApiModelProperty(value = "注册地址")
    private String registerAddress;

    /**办公地址id*/
    @ApiModelProperty(value = "办公地址id")
    private String officeAddressId;
    @ApiModelProperty(value = "办公地址的文字")
    private String officeAddressText;

    /**法人证件类型：china_ID_card-中华人民共和国身份证；china_passport-中华人民共和国护照；other-其他*/
    @ApiModelProperty(value = "法人证件类型：china_ID_card-中华人民共和国身份证；china_passport-中华人民共和国护照；other-其他")
    private String personType;

    /**法人证件号码*/
    @ApiModelProperty(value = "法人证件号码")
    private String personNumber;

    /**证件图片 id 列表，多个用#分割*/
    @ApiModelProperty(value = "证件图片 id 列表，多个用#分割")
    private String pictureFileIds;

    @ApiModelProperty(value = "营业执照图片id")
    private String licenseFileIds;

}
